stats

  • function
 

Informs Bookshelf.js that the stats property will be a list of Stat models with a gameId that matches the id specified in the query.

game.stats()

Informs Bookshelf.js that the stats property will be a list of Stat models with a gameId that matches the id specified in the query.